package com.lkj;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "queue")
public class Queue {

    public static List list;

    public static String name;

    public static String pass;

    public static List getList() {
        return list;
    }

    public static void setList(List list) {
        Queue.list = list;
    }

    public static String getName() {
        return name;
    }

    public static void setName(String name) {
        Queue.name = name;
    }

    public static String getPass() {
        return pass;
    }

    public static void setPass(String pass) {
        Queue.pass = pass;
    }
}
